package Work;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

public class Person {
    public static void main(String[] args) {
        ArrayList<Map<String,Object>> p = new ArrayList<>();
        Map<String,Object> map1 = new HashMap<>();
        map1.put("姓名","白武男");
        map1.put("年龄","20");
        map1.put("ID","1");
        p.add(map1);
        Map<String,Object> map2 = new HashMap<>();
        map2.put("姓名","刹暗天");
        map2.put("年龄","24");
        map2.put("ID","2");
        p.add(map2);
        for (Map<String,Object> map:p)
            System.out.println(map);
    }
}